import { Hero, HeroDetail } from "../types/hero";
import RequestHttp from "../utils/request";
// 
export const getHeroListAPI = (params: object) => RequestHttp.get<Hero[]>("/api/lol/search", params)
// 获取详情
export const getHeroDetailListAPI = (params:object) => RequestHttp.get<HeroDetail>("/api/lol/info",params)